<?php

namespace Models;

class Downloads extends \Phalcon\Mvc\Model
{

    /**
     *
     * @var integer
     */
    public $id;

    /**
     *
     * @var integer
     */
    public $user_id;

    /**
     *
     * @var integer
     */
    public $doc_id;

    /**
     *
     * @var string
     */
    public $time;

    /**
     *
     * @var string
     */
    public $ip;

    /**
     *
     * @var string
     */
    public $userAgent;

    /**
     * Independent Column Mapping.
     */
    public function columnMap()
    {
        return array(
            'id' => 'id', 
            'user_id' => 'user_id', 
            'doc_id' => 'doc_id', 
            'time' => 'time', 
            'ip' => 'ip', 
            'userAgent' => 'userAgent'
        );
    }

}
